import com.atguigu.ggkt.utils.MapTool;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.ObjectUtils;

import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WechatPayConfigDemo {

    private String mpAppId;
    private String notifyUrl;
    private String mchId1;
    private String privateKeyPath;
    private String merchantSerialNumber;
    private String apiV3Key;
    private String signPem;

    public static void main(String[] args) {
        Map map = new HashMap();
        Object tmp = "123";
        map.put("appId", tmp);
        String appId = MapTool.getStringFromMap(map,"appId");
        System.out.println(appId);
    }
}
